<?php 
/**
 * GioCMS
 * 
 * LICENSE
 *
 * This source file is subject to the GNU GENERAL PUBLIC LICENSE Version 2 
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://www.gnu.org/licenses/gpl-2.0.txt
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@ninhgio.com so we can send you a copy immediately.
 */
?>
<?php 
Gio_Core_View::getInstance()->headScript('modules/ad/js/banner.js')
							->headScript('modules/ad/js/zone.js')
							->headScript('modules/ad/js/loader.js')
							->headScript($this->url('ad_banner_load'));
?>
<div id="<?php echo $this->containerId; ?>">
	<script type="text/javascript">
	$(document).ready(function() {
		(new Gio.Ad.Loader('<?php echo $this->zoneId; ?>', '<?php echo $this->containerId; ?>', '<?php echo $this->route; ?>', '<?php echo $this->url; ?>')).load();
	});
	</script>
</div>